<?php
/**
 * @revision      $Id: index.php 7 2011-08-20 10:33:23Z agbiggora@gmail.com $   
 * @created       Apr 22, 2011
 * @category      category
 * @package       package
 * @version       version
 * @copyright     Copyright Alexey Gordeyev IK � 2009-2011 - All rights reserved.
 * @license       GPLv2
 * @author        Alexey Gordeyev IK <aleksej@gordejev.lv>
 * @link          http://www.agjoomla.com/classes/
 */

error_reporting(E_ALL);
ini_set('display_errors', '1');
set_time_limit(200000);
ini_set('default_socket_timeout', 20000);

// Set flag that this is a parent file.
define('_AGEXEC', 1);

define('DS', DIRECTORY_SEPARATOR);
define ('PATH_BASE', realpath(dirname(__FILE__)) . DS);

if (file_exists(dirname(__FILE__) . DS . 'libraries' . DS . 'defines.php')) {
	include_once dirname(__FILE__) . DS . 'libraries' . DS . 'defines.php';
}

require_once PATH_LIBRARIES . DS . 'framework.php';

$app = new Framework();

?>